<?php

$cat = array(1=>'Apple',
             2=>'Sony',
             3=>'Toshiba',
             4=>'HTC',
             5=>'Samsung',
             6=>'Asus');

echo json_encode($cat);
